import { Table } from 'antd'
import type { TableProps } from 'antd/lib'

export default function AntdTable<T>({ pagination, ...props }: Omit<TableProps<T>, 'size'>) {
  return <Table<T> size="middle" pagination={{ size: 'default', ...pagination }} {...props} />
}
